import 'weui/dist/style/weui.css'
import './styles/base.styl'
import $ from 'n-zepto'

$(function () {
  let appList = $('#app-list')
  const LIST_ITEM_SELECTOR = '.app-list__item'
  const QRCODE_SELECTOR = '.qrcode'

  appList.on('click', LIST_ITEM_SELECTOR, function (e) {
    let qrcode = $(this).find(QRCODE_SELECTOR)
    qrcode.toggleClass('hidden')
  })
})
